JavaScript:Clipboard API
code:js
const target = 'コピーする文字列'
const promise = navigator.clipboard.writeText(target);
code:js
const promise = navigator.clipboard.readText();
https://img.shields.io/badge/JavaScript-Clipboard_API-F7DF1E.svg?logo=javascript&style=for-the-badge